#include "Camera.h"

Camera::Camera ( )
{
    XMIN = 0.0F;
    XMAX = 10.0F;
    YMIN = 0.0F;
    YMAX = 10.0F;
    setX((XMIN+XMAX)/2);
    setY((YMIN+YMAX)/2);
    setZ(0.0F);
    setZoom(1.0F);
}

Camera::~Camera ( ) {
    std::cout<<"Camera deleted \n";
}


Camera* Camera::instance_ptr = 0;
// Other methods
//

Camera* Camera::instance ( )
{
  if (instance_ptr == 0)
     instance_ptr  = new Camera();
    return instance_ptr;
}
